﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace OneStationFile.WEB.Controllers
{
    public class ErrorController : Controller
    {
        // GET: Error
        public ActionResult Index()
        {
            return View();
        }
        public JsonResult AjaxError()
        {
            var result = new { msg = "无权进行该操作，请与管理员联系", res = false };
            return Json(result,JsonRequestBehavior.AllowGet);

        }
        public ActionResult PageError() {
            return View();
        }
    }
}